<admintpl file="header" />
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:U('Time/index')}">收货时间</a></li>
        <li><a href="{:U('Time/add')}">添加时间</a></li>
    </ul>
    <form method="post" class="js-ajax-form">
        <table class="table table-hover table-bordered">
            <thead>
            <tr>
                <th align="center">ID</th>
                <th>开始时间</th>
                <th>结束时间</th>
                <th>类型</th>
                <th align="center">{:L('ACTIONS')}</th>
            </tr>
            </thead>
            <tbody>
            <php>$user_statuses=array("0"=>L('USER_STATUS_BLOCKED'),"1"=>L('USER_STATUS_ACTIVATED'),"2"=>L('USER_STATUS_UNVERIFIED'));</php>
            <foreach name="list" key="k" item="vo">
                <tr>
                    <td align="center">{$k+1}</td>
                    <td>{$vo.start_time}</td>
                    <td>{$vo.end_time}</td>
                    <td>{$vo.type}</td>
                    <!--<td><?php if($vo['status']=='1'){ echo "通过审核"; }elseif($vo['status']=='-1'){ echo "审核未通过"; }elseif($vo['status']=='3'){ echo "审核中"; } ?></td>-->
                    <td align="center">
                        <a href="{:U('Time/edit')}&id={$vo['id']}" style="color: #1abc9c;">编辑</a>|
                        <a href="{:U('Time/del')}&id={$vo['id']}" style="color: #1abc9c;" onclick="if(confirm('确定删除吗?')==false)return false;">删除</a>
                    </td>
                </tr>
            </foreach>
            </tbody>
        </table>
        <div class="pagination">{$page}</div>
    </form>
</div>
<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>